package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.response.QueryConfirmOrderGoodsResponse;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.BuyGoodsReduceHolder;

/** 确认订单-商品清单-减免ListItem */
public class BuyGoodsReduceListItem
        extends DisplayListItem<
        BuyGoodsReduceHolder, QueryConfirmOrderGoodsResponse.Favourable> {

    public BuyGoodsReduceListItem(QueryConfirmOrderGoodsResponse.Favourable s) {
        super(s);
    }

    @Override
    public void onShow(Context context, BuyGoodsReduceHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return BuyGoodsReduceListItem.class.getSimpleName();
    }

    @Override
    public Class<BuyGoodsReduceHolder> getViewHolderClazz() {
        return BuyGoodsReduceHolder.class;
    }
}
